package com.haizhi.crm.common.util;

import com.haizhi.crm.common.constant.CrmConstant;
import com.haizhi.crm.common.context.SpringContext;

/**
 * Created by caochao on 2018/05/24.
 */
public class ApplicationUtils {

    public static String getSearchUri() {
        return SpringContext.getProperty(CrmConstant.SEARCH_SERVER_URL_KEY);
    }

    public static String getGraphUri() {
        return SpringContext.getProperty(CrmConstant.GRAPH_SERVER_URL_KEY);
    }

    public static String getTagUri() {
        return SpringContext.getProperty(CrmConstant.TAG_SERVER_URL_KEY);
    }

    public static String getDcInboundUri() {
        return SpringContext.getProperty(CrmConstant.DC_INBOUND_URI_KEY);
    }

    public static String getBtchnoUri() {
        return SpringContext.getProperty(CrmConstant.BATCHNO_URI_KEY);
    }
}
